package com.work.keep.activity;

import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.work.keep.R;
import com.work.keep.base.BaseActivity;

/**
 * Created by dllo on 16/1/23.
 */
public class MyWorkoutDesActivity extends BaseActivity {
    private ImageView workoutDesBack;
    private TextView workoutDesContent;


    @Override
    protected View getLayoutView() {
        return null;
    }

    @Override
    protected int getLayout() {
        return R.layout.activity_my_workout_des;
    }

    @Override
    protected void initView() {
        workoutDesBack = (ImageView) findViewById(R.id.workoutDesBack);
        workoutDesContent = (TextView) findViewById(R.id.workoutDesContent);
    }

    @Override
    protected void initData() {
        Intent intent = getIntent();
        workoutDesContent.setText(intent.getStringExtra("content"));
        workoutDesBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
